package com.lsz.crm.utils;

import com.lsz.crm.exceptions.ParamsException;

/**
 * 参数判断工具类，以便抛出参数异常
 */
public class AssertUtil {

    public static void isTrue(Boolean flag, String msg){
        if(flag){
            throw new ParamsException(msg);
        }
    }

}
